package mse.eai.jbpm.confirmFriendshipRequest;

import org.jbpm.graph.def.ActionHandler;
import org.jbpm.graph.exe.ExecutionContext;

public class PrepareFrienshipConfirmationNotification implements ActionHandler {

	@Override
	public void execute(ExecutionContext context) throws Exception {

		System.out.println("-------------- PREPARE NOTIFICATION --------------------");
		
		context.setVariable("subject", "PhaseBook Frienship Request Confirmation");
		context.setVariable("message", "Your friendship request was accepted");
		//context.setVariable("destUserId", new Integer((Integer) context.getVariable("destUserId")));

		
		context.leaveNode();
		
		
	}

}
